home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / xjewel / Imakefile < prev    next >
Makefile  |  1995-05-03  |  2KB  |  61 lines

  1. # A little makeyfile edit up to the solid line...
  2.  
  3. # EDIT THE CDEBUGFLAGS IF -O GIVES A PROBLEM
  4. CDEBUGFLAGS = -O  
  5.  
  6. # CHANGE HSCORE_FILE TO SUIT
  7. HSCORE_FILE=/usr/games/lib/xjewel.scores
  8.  
  9. # ADD YOUR ARCHITECTURE IF YOU USE SELECT INSTEAD OF POLL
  10. #if defined(HPArchitecture) || defined(ApolloArchitecture) || \
  11.      defined(UltrixArchitecture)
  12. #define sel -DUSE_SELECT
  13. #else
  14. #define sel 
  15. #endif
  16.  
  17. # DEFINE 'DECWM' if you use DECwindows session manager
  18. # DEFINE 'ICON_WINDOW if you want dynamic icons
  19. # DEFINE 'LEAVE_PAUSE' if you auto pause if the pointer leaves the window
  20. # DEFINE 'GETPWENT' if you dont have the cuserid ftn (hscore.c)
  21. # DEFINE 'SLOW_FONTS=n' if your server is overly fast on fonts
  22. # DEFINE 'SLOW_DRAW=n' if your server is overly fast on drawing
  23. USERDEFS = -DICON_WINDOW
  24.  
  25. # CHANGE FFILE TO REFLECT THE EXTENSION USED FOR COMPILED FONTS
  26. FFILE = snf
  27. RFILE = bdf
  28.  
  29. ##############################################################################
  30. # X-STUFF...
  31. LOCAL_LIBRARIES = $(XLIB)
  32. DEPLIBS =
  33.  
  34. DEFINES = -DHSCORE_FILE=\"$(HSCORE_FILE)\" sel $(USERDEFS)
  35. # MY CODE...
  36. HDRS    = general.h xw.h jewel.h logic.h panel.h xhscore.h hscore.h \
  37.         game.h intro.h help.h
  38. OBJS    = xw.o jewel.o logic.o panel.o xhscore.o hscore.o game.o intro.o help.o
  39. SRCS    = xw.c jewel.c logic.c panel.c xhscore.c hscore.c game.c intro.c help.c
  40. FONT   = bitmaps/seven_seg
  41. CFONT   = bitmaps/seven_seg.$(FFILE)
  42. RFONT   = bitmaps/seven_seg.$(RFILE)
  43.  
  44.  
  45. # LETS GET TO IT...
  46. ComplexProgramTarget(xjewel)
  47.  
  48. # IF YOUR SERVER DOES NOT LIKE THE DEFAULT FONT COMPILER, EDIT HERE...
  49. FontTarget($(FONT))
  50.     $(MKFONTDIR) bitmaps/
  51.  
  52. # FORCE FONT TO BE BUILT
  53. all:: $(CFONT)
  54.  
  55. $(CFONT):: $(RFONT)
  56.     bdftosnf $(RFONT) > $(CFONT)
  57.  
  58. install::
  59.     touch  $(HSCORE_FILE)
  60.     chmod a+w $(HSCORE_FILE)
  61.